package com.baizhi.app.service.impl;

import com.baizhi.app.dao.AlbumDao;
import com.baizhi.app.entity.Album;
import com.baizhi.app.service.AlbumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AlbumServiceImpl implements AlbumService {
    @Autowired
    private AlbumDao albumDao;
    @Override
    public List<Album> showAlbum() {

        return albumDao.selectAllAlbum();
    }
}
